package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Message;
import cn.wolfcode.trip.base.query.MessageQueryObject;
import com.github.pagehelper.PageInfo;

public interface IMessageService {
    PageInfo query(MessageQueryObject qo);

    int queryNumber(Long userId, Integer state);

    void save(Message msg);
}
